<?php
/**
 * Description of single-product
 * 
 * @author luubk
 * @since 10-08-2012 - 00:18:06
 */
if (have_posts()):
    while (have_posts()):
        the_post();
        ?>            
        <div class="content_items">
            <div class="content_nameproduct">
                Sản phẩm
            </div>
            <hr>
            <div class="product_item">
                <div class="grid_4 item_thumb">
                    <?php
                    if (has_post_thumbnail())
                            echo the_post_thumbnail(array(270, 270));
                    else
                    {
                        ?>
                        <img src="<?php echo bloginfo('template_url'); ?>/img/pro_1.jpg"/>
                        <?php
                    }
                    ?>
                </div>
                <div class="grid_4 item_info">
                    <h2><?php the_title(); ?></h2>
                    <ul class="post-meta">
                        <li>
                            <span class="post-meta-key">
                                Cập nhật:
                            </span>
                            <?php echo get_the_date('d/m/Y') ?> <?php echo get_the_time('H:i') ?>
                        </li>
                    </ul>
                    <?php the_meta(); ?>                                
                </div>
                <div class="clear"></div>
                <h3>Thông tin cơ bản</h3>
                <div>
                    <?php the_content(); ?>
                </div>
                <div class="clear"></div>
                <h3>Thông số kỹ thuật</h3>
                <div>
                    <?php the_excerpt(); ?>
                </div>
                <br/>
            </div>
            <div class="clear"></div>
        </div>
        <?php
    endwhile;
            endif;
            
/**
 * End of single-product
 */